package com.jwdemo
{
	import flash.display.BitmapData;

	public final class GameBitMaps
	{
		// Please NOTE - the graphics are copyright SEGA!
		
		[Embed(source="../assets/arrow.png")] 	static private var ArrowImage:Class ;
		static public var arrowBM:BitmapData 		=	new ArrowImage().bitmapData;
		
		[Embed(source="../assets/tileset.png")] static private var TileSetImage:Class ;
		static public var tilesetBM:BitmapData 		= 	new TileSetImage().bitmapData;

		[Embed(source="../assets/helibody.png")] static private var HeliBodyImage:Class ;
		static public var helibodyBM:BitmapData 		= 	new HeliBodyImage().bitmapData;

		[Embed(source="../assets/helishadow.png")] static private var HeliShadowImage:Class ;
		static public var helishadowBM:BitmapData 		= 	new HeliShadowImage().bitmapData;

		[Embed(source="../assets/heliblades.png")] static private var HeliBladesImage:Class ;
		static public var helibladesBM:BitmapData 		= 	new HeliBladesImage().bitmapData;

		[Embed(source="../assets/smoke8x4.png")] static private var SmokeImage:Class ;
		static public var smokeBM:BitmapData 		= 	new SmokeImage().bitmapData;

		[Embed(source="../assets/sprites.png")] static private var SpriteImage:Class ;
		static public var spriteBM:BitmapData 		= 	new SpriteImage().bitmapData;
		

		[Embed(source="../assets/explosionuv64.png")] static private var ExplosionImage:Class ;
		static public var explosionBM:BitmapData 		= 	new ExplosionImage().bitmapData;

		[Embed(source="../assets/bullets.png")] static private var BulletImage:Class ;
		static public var bulletBM:BitmapData 		= 	new BulletImage().bitmapData;

		[Embed(source="../assets/bullethits.png")] static private var BulletHitsImage:Class ;
		static public var bullethitsBM:BitmapData 		= 	new BulletHitsImage().bitmapData;
		
		[Embed(source="../assets/messagebackground.png")] static private var MessageBackImage:Class ;
		static public var messagebackBM:BitmapData 		= 	new MessageBackImage().bitmapData;
		


		static private var bitmaps:Object = {
				arrow: 			arrowBM ,
				tileset: 		tilesetBM,
				helibody:		helibodyBM,
				heliblades:		helibladesBM,
				helishadow:		helishadowBM,
				smoke:			smokeBM,
				sprites:		spriteBM,
				explosion:		explosionBM,
				bullets:		bulletBM,
				bullethits:		bullethitsBM,
				message:		messagebackBM
				
				
			} ;
		

		
		public function GameBitMaps()
		{
		}
		
		static public function GetBitMap(name:String):BitmapData 
		{
			return GameBitMaps.bitmaps[name] ;			
		}
		
	}
}